package com.zhijian.medical.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 脱水新增or修改类
 *
 * @author HCG
 * @version 1.0
 * @date 2022-11-11
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "脱水新增or修改类")
public class DehydrationSaveOrUpdateVo implements Serializable {

    private static final long serialVersionUID = 577558082048383458L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", hidden = true)
    private Long id;

    /**
     * 容器标识
     */
    @ApiModelProperty("容器标识")
    @NotBlank(message = "容器标识不能为空")
    private String containerNumber;

    /**
     * 脱水仪器标识
     */
    @ApiModelProperty("脱水仪器标识")
    @NotBlank(message = "脱水仪器标识不能为空")
    private String deviceNumber;
}
